<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<link rel="shortcut icon" type="image/x-icon"
  href="<?php echo Yii::app()->baseUrl?>/images/door.ico" />

<title><?php echo CHtml::encode($this->pageTitle); ?></title>
<meta name="keywords" content="" />
<meta name="description" content="" />


<!-- this styles only adds some repairs on idevices  -->
<meta name="viewport"
  content="width=device-width, initial-scale=1, maximum-scale=1">

    <!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

    <!-- ######### CSS STYLES ######### -->

    <link rel="stylesheet"
      href="<?php echo Yii::app()->baseUrl ?>/css/reset.css"
      type="text/css" />
    <link rel="stylesheet"
      href="<?php echo Yii::app()->baseUrl ?>/css/style.css"
      type="text/css" />

    <!-- responsive devices styles -->
    <link rel="stylesheet" media="screen"
      href="<?php echo Yii::app()->baseUrl ?>/css/responsive-leyouts.css"
      type="text/css" />

    <link rel="stylesheet"
      href="<?php echo Yii::app()->baseUrl ?>/css/css.css"
      type="text/css" />

    <!-- jquery jcarousel -->
    <link rel="stylesheet" type="text/css"
      href="<?php echo Yii::app()->baseUrl ?>/js/jcarousel/skin.css" />

    <!-- faqs -->
    <link rel="stylesheet"
      href="<?php echo Yii::app()->baseUrl ?>/js/accordion/accordion.css"
      type="text/css" media="all">

      <!-- nivo slider -->
      <link rel="stylesheet"
        href="<?php echo Yii::app()->baseUrl ?>/js/nivo-slider/nivo-slider.css"
        type="text/css" media="screen" />

</head>

<body>

  <div class="site_wrapper">

    <div class="boxed_wrapper" >

    <?php $this->widget('widget_header'); ?>
      <!-- Slider
======================================= -->

      <div class="container_full">
        <?php $this->widget('widget_slideshow');?>
      </div>
      <!-- end slider -->

      <!-- NỘI DUNG CHÍNH  -->
      <div class="container">
        <div class="content_right">
         
         <?php echo $content?>
               
        </div>
        <!-- end content left side area -->      

        <!-- left sidebar starts -->
        <div class="left_sidebar">
          
          <!-- end site search -->
          <div class="clearfix"></div>
          <?php $this->widget('widget_category'); ?>
          <!-- end section -->
          
          <div class="clearfix mar_top3"></div>
          <?php $this->widget('widget_support'); ?>
          <!-- end section -->
          
          <div class="clearfix mar_top3"></div>
          <?php $this->widget('widget_blog'); ?>
          <!-- end section -->

          <div class="clearfix mar_top3"></div>
          
          <!-- end section -->
        </div>
      </div>
      <!-- END NỘi DUNG CHÍNH -->


      <!-- begin clients -->
      <div class="container">
      <?php $this->widget('widget_partner')?>
      </div>
      <!-- end clients -->


      <div class="clearfix mar_top3"></div>
      <div class="twitter_feed_full">
        <div class="container">          
        </div>
      </div>

      <!-- Footer
======================================= -->
      <?php $this->widget('widget_footer'); ?>
      <!-- style switcher -->
      <a href="#" class="scrollup">Scroll</a>
      <!-- end scroll to top of the page-->
    </div>
  </div>


  <!-- ######### JS FILES ######### -->
  <!-- get jQuery from the google apis -->
  <script type="text/javascript"
    src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.js"></script>
  <!-- main menu -->
  <script type="text/javascript"
    src="<?php echo Yii::app()->baseUrl ?>/js/mainmenu/ddsmoothmenu.js"></script>
  <script type="text/javascript"
    src="<?php echo Yii::app()->baseUrl ?>/js/mainmenu/jquery-1.7.1.min.js"></script>
  <script type="text/javascript"
    src="<?php echo Yii::app()->baseUrl ?>/js/mainmenu/selectnav.js"></script>

  <!-- jquery jcarousel -->
  <script type="text/javascript"
    src="<?php echo Yii::app()->baseUrl ?>/js/jcarousel/jquery.jcarousel.min.js"></script>

  <!-- nivo slider -->
  <script type="text/javascript"
    src="<?php echo Yii::app()->baseUrl ?>/js/nivo-slider/jquery.nivo.slider.js"></script>
  <script type="text/javascript">
$(window).load(function() {
    $('#slider').nivoSlider();
});
</script>

  <script type="text/javascript"
    src="<?php echo Yii::app()->baseUrl ?>/js/mainmenu/scripts.js"></script>


  <!-- scroll up -->
  <script type="text/javascript">
    $(document).ready(function(){
 
        $(window).scroll(function(){
            if ($(this).scrollTop() > 100) {
                $('.scrollup').fadeIn();
            } else {
                $('.scrollup').fadeOut();
            }
        });
 
        $('.scrollup').click(function(){
            $("html, body").animate({ scrollTop: 0 }, 500);
            return false;
        });
 
    });
</script>


  <!-- jquery jcarousel -->
  <script type="text/javascript">

	jQuery(document).ready(function() {
			jQuery('#mycarousel').jcarousel();
	});
	
	jQuery(document).ready(function() {
			jQuery('#mycarouseltwo').jcarousel();
	});
	
</script>

  <script type="text/javascript"
    src="<?php echo Yii::app()->baseUrl ?>/js/accordion/custom.js"></script>

</body>
</html>

